<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>首页</title>

<link rel="stylesheet" type="text/css" href="/static/css/nav.css">
<link rel="stylesheet" type="text/css" href="/static/font/iconfont.css">

<script type="text/javascript" src="/static/js/jquery.min.js"></script>
<script type="text/javascript" src="/static/js/nav.js"></script>
<!-- 顶部栏连接 -->
<link rel="stylesheet" type="text/css" href="/static/css/head.css"/>
<script type="text/javascript" src="/static/js/jquery-3.1.1.min.js"></script>
</head>
<body>
  

  <div class="nav">
	<div class="nav-top">
		<div id="mini" style="border-bottom:1px solid rgba(255,255,255,.1)"><img src="/static/images/mini.png" onclick="Click()"></div>
	</div>
	<ul>
		<li class="nav-item">
			<a href="javascript:;"><i class="my-icon nav-icon icon_1"></i><span>设备管理</span><i class="my-icon nav-more"></i></a>
			<ul>
				<li><a href="/tooriginalInfo/" target="mainFrame"><span>设备原始数据</span></a></li>
				<li><a href="/temhumwifiInfo/" target="mainFrame"><span>设备信息数据</span></a></li>
				<li><a href="/chart/" target="mainFrame"><span>表</span></a></li>
				<li><a href="/versionInfo/" target="mainFrame"><span>设备版本</span></a></li>
			</ul>
		</li>
		<li class="nav-item">
			<a href="javascript:;"><i class="my-icon nav-icon icon_2"></i><span>文章管理</span><i class="my-icon nav-more"></i></a>
			<ul>
				<li><a href="/deviceInfo/" target="mainFrame"><span>设备信息</span></a></li>
				<li><a href="javascript:;"><span>站内公告</span></a></li>
				<li><a href="javascript:;"><span>登录日志</span></a></li>
			</ul>
		</li>
		<li class="nav-item">
			<a href="javascript:;"><i class="my-icon nav-icon icon_3"></i><span>订单管理</span><i class="my-icon nav-more"></i></a>
			<ul>
				<li><a href="javascript:;"><span>订单列表</span></a></li>
				<li><a href="javascript:;"><span>打个酱油</span></a></li>
				<li><a href="javascript:;"><span>也打酱油</span></a></li>
			</ul>
		</li>
	</ul>
  </div> 
  <script >
        function Click(){
            var down = (window.parent.frames["frame"]);//这是获取index.html框架页面里  父框架到子框架的引用方式
            var i = $(down).attr('cols');//操作框架页面的cols参数
            if(i == "200,*"){
            	$(down).attr('cols','200,4200')
            }else{
            	$(down).attr('cols','200,*')
            }
        }
    </script>
</body>
</html>